package com.lv.LvTourismOrderCustomer.bean;

import javax.persistence.*;

import com.lv.LvTourismOrder.bean.LvTourismOrder;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

@Entity
@Table(name = "lv_tourism_order_customer")
public class LvTourismOrderCustomer implements BaseEntity{

    private String id;//主键

    private String passengerName;//名称

    private java.util.Date passengerBirthDay;//出生日期

    private Integer passengerType;//客户类型：0.成人1.儿童

    private Integer passengerCardType;//成人身份识别卡类型：0.身份证,1.护照2.港澳通行证3.其他

    private String passengerCardNumber;//成人身份识别卡号码

    private String fkTourismOrderId;//旅游订单id

    private java.util.Date addTime;//添加时间

    private String fkAddUserId;//添加人id

    private java.lang.Integer status;

    private LvTourismOrder lvTourismOrder;

    public void setId(String value){
        this.id = value;
    }
    public void setPassengerName(String passengerName){
        this.passengerName = passengerName;
    }
    public void setPassengerBirthDay(java.util.Date value){
        this.passengerBirthDay = value;
    }
    public void setPassengerType(Integer value){
        this.passengerType = value;
    }
    public void setPassengerCardType(Integer value){
        this.passengerCardType = value;
    }
    public void setPassengerCardNumber(String value){
        this.passengerCardNumber = value;
    }
    public void setFkTourismOrderId(String value){
        this.fkTourismOrderId = value;
    }
    public void setAddTime(java.util.Date value){
        this.addTime = value;
    }
    public void setFkAddUserId(String value){
        this.fkAddUserId = value;
    }
    public void setStatus(java.lang.Integer value){
        this.status = value;
    }
    public void setLvTourismOrder(LvTourismOrder lvTourismOrder) {
        this.lvTourismOrder = lvTourismOrder;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="passenger_name",unique=false,nullable=true,insertable=true,updatable=true,length=16)
    public String getPassengerName(){
        return this.passengerName;
    }
    @Column(name ="passenger_birth_day",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getPassengerBirthDay(){
        return this.passengerBirthDay;
    }
    @Column(name ="passenger_type",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getPassengerType(){
        return this.passengerType;
    }
    @Column(name ="passenger_card_type",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getPassengerCardType(){
        return this.passengerCardType;
    }
    @Column(name ="passenger_card_number",unique=false,nullable=true,insertable=true,updatable=true,length=20)
    public String getPassengerCardNumber(){
        return this.passengerCardNumber;
    }
    @Column(name ="fk_tourism_order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkTourismOrderId(){
        return this.fkTourismOrderId;
    }
    @Column(name ="add_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getAddTime(){
        return this.addTime;
    }
    @Column(name ="fk_add_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkAddUserId(){
        return this.fkAddUserId;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getStatus(){
        return this.status;
    }
    @Transient
    public LvTourismOrder getLvTourismOrder() {
        return lvTourismOrder;
    }
}
